<%@ page pageEncoding="utf-8" session="false" contentType="text/html; charset=utf-8"%>
<h1 mimeType="${archive.mimeType}">${archive.title}</h1>
<c:if test="${util.notEmpty(archive.subTitle)}">
<h2 class="caption">${archive.subTitle}</h2>
</c:if>
<!-- archive content start -->
<c:choose>
    <c:when test="${archive.mimeType == 'text/plain'}"><pre style="border: none; background-color: #ffffff; font-size: 12px; line-height: 15px;">${archiveContent.content}</pre></c:when>
    <c:otherwise><c:out value="${archiveContent.content}"/></c:otherwise>
</c:choose>
<!-- archive content end -->
<c:if test="${pageCount > 1}">
<div name="scrollpage" class="scrollpage" theme="2" pageNum="${pageNum}" pageSize="1" count="${pageCount}" href="${contextPath}/note/archive/display.html?archiveId=${archive.archiveId}&pageNum=%s"></div>
</c:if>
